package com.three_learn.star.project.j3.dataconfig.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "数据配置显示对象")
public class dataConfigVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称", example = "name1")
    private  String xanme;

    @ApiModelProperty(value = "别名", example = "form1")
    private String xalias;

   @ApiModelProperty(value = "更新时间", example = "2024-10-15T12:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime xupdateTime;

    @ApiModelProperty(value = "描述信息", example = "这是一个表单")
    private String xdescription;


}
